<include file="__PUBLIC__/header.html" />
<css file="__ROOT__/static/jquery/css/redmond/jquery-ui-1.10.0.custom.css"/>
<js file="__ROOT__/static/jquery/js/jquery-ui-1.10.0.custom.min.js"/>
<css file="__PUBLIC__/css/addshow.css" />
<js file="__PUBLIC__/js/arc.js" />
<script>
    $(function() {
        $( "#tabs" ).tabs();
    });
</script>

</head>
<body>
	<form action="{|U('add')}" method="post">
	       <input type="hidden" name="cid" value="{$hd.get.cid}" />
            <div id="tabs">
                <ul>
                    <li><a href="#tabs-1">添加文章</a></li>
                </ul>
                <div id="tabs-1">
                    <table class="table2">
                        <tr>
                            <td width="75">文章标题</td>
                            <td>
                                <input type="text" class="w100" name="title"/> <span class="desc_n"></span>
                            </td>
                        </tr>
                        <if value="!{$hd.get.cid}">
                        <tr>
                            <td>所属栏目</td>
                            <td>
                                <select name="cid">
                                    <option value="noselect">--所属栏目--</option>
                                    <list from="$category" name="$n">
                                        <option value="{$n.cid}">{$n.catname}</option>
                                    </list>
                                </select>
                                &nbsp&nbsp<span class='catselected'></span>
                            </td>
                        </tr>
                        </if>
                        <tr>
                            <td>关键字</td>
                            <td>
                                <input type="text"class="w200" name="keywords"/> <span class="desc_d"></span>
                            </td>
                        </tr>
                        <tr>
                            <td>缩略图</td>
                            <td>
                                <upload name="thumbimg" />
                            </td>
                        </tr>
                        <tr>
                            <td>文章描述</td>
                            <td>
                                <textarea name="description" class="w300 h100"></textarea>
                            </td>
                        </tr>
                        <tr>
                            <td>文章内容</td>
                            <td>
                                <keditor name="content" width="800"/>
                            </td>
                        </tr>
                        <tr>
                            <td>点击次数</td>
                            <td>
                                <input type="text" name="click" value="100"/>
                            </td>
                        </tr>
                    </table>
                </div>
                
                <div>
                    <input type="submit" class="bt1 subarc" value="添加文章"/>
                </div>
            </div>

        </form>
</body>
</html>